package com.axend.sofa.di

import android.app.Application
import android.content.Context
import com.axend.lib_base.utils.BluetoothScanUtil
import com.axend.sofa.app.App
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.qualifiers.ApplicationContext
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton


/**
 * 全局di注入
 */
@Module
@InstallIn(SingletonComponent::class)
class ApplicationDIModule {


    @Provides
    @Singleton
    fun provideBluetoothScanUtil(application: Application): BluetoothScanUtil {
        return BluetoothScanUtil(application)
    }
}